<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <base href="${request.contextPath}/"/>
    <meta charset="UTF-8">
    <meta name="Keywords" content="">
    <meta name="Description" content="">
    <meta name="format-detection" content="telephone=no">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0,minimum-scale=1.0">
    <title>漠河智慧社区</title>
    <link href="Content/wechat/css/reset.css" rel="stylesheet" type="text/css">
    <!--  <link href="css/index.css" rel="stylesheet" type="text/css">-->
    <link href="Content/wechat/css/zongZhi_ZZZZ.css" rel="stylesheet" type="text/css">
    <script src="Content/wechat/js/jquery.min.js"></script>
    <!--字体缩放-->
    <script src="Content/wechat/js/ziti.js"></script>
    <!--end 字体缩放-->
    <!--页码js-->
    <script src="Content/wechat/js/myPagination.js"></script>
    <!--页码-->
    <link href="Content/wechat/css/myPagination.css" rel="stylesheet" type="text/css">
</head>
<body>
<header >
    <img src="Content/wechat/images/zzzz.jpg">
</header>
<div class="dianLiang_list">
    <div class="dianLiang_list_box" id="liuYan_box11">
        <a href="/wechat/home/lawmanage/zzzx/lawmanage_ZZZZ_xx?id=12312">
            <img src="Content/wechat/images/sq.jpg" onerror=src="Content/wechat/images/sq.jpg">
            <span>西铁社区</span>
        </a>

    </div>


</div>
</body>
<script>
    window.onload = function () {
        zzzxlist();
    }


</script>
<script>

    function zzzxlist() {
        $.ajax({
            url: "/wechat/home/lawmanage/zzzx/allList",
            type: 'post',
            dataType: 'json',
            data: {

            }, success: function (result) {
                ajaxCallBack(result);
            }

        })
    }

    function ajaxCallBack(data) {
        var insetViewData = ""; //视图数据
        $.each(data.data, function (index, items) {

            insetViewData += " <a href=\"/wechat/home/lawmanage/zzzx/lawmanage_ZZZZ_xx?id="+items.id+"\">\n" +
                "            <img src=\""+items.imgurl+"\" onerror=src=\"Content/wechat/images/sq.jpg\">\n" +
                "            <span>"+items.communityname+"</span>\n" +
                "        </a>";

        });
        $("#liuYan_box11").html(insetViewData);

    }


</script>
</html>